package com.topisv.tms.rest.qimen.qmentity.request.instoragebillcreate;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.NotBlank;

import com.topisv.tms.rest.qimen.qmentity.ReceiverInfo;
import com.topisv.tms.rest.qimen.qmentity.SenderInfo;

@XmlAccessorType(XmlAccessType.FIELD)
public class InstorageBill {
	
    @NotBlank
	@XmlElement(name="entryOrderCode")
	private String entryOrderCode; 	//入库单号
	
//	@XmlElement(name="ownerCode")
//	private String ownerCode;		//货主编码
	
    @NotBlank
	@XmlElement(name="warehouseCode")
	private String warehouseCode;		//仓库编码
	
	@XmlElement(name="orderCreateTime")
	private String orderCreateTime;    //订单创建时间
	
	@NotBlank
	@XmlElement(name="orderType")
	private String orderType; 			//SCRK=生产入库，LYRK=领用入库，CCRK=残次品入库，CGRK=采购入库，DBRK=调拨入库, QTRK=其他入库，B2BRK=B2B入库
	
	@XmlElement(name="expectStartTime")
	private String expectStartTime; 	//预期到货时间
	
	@XmlElement(name="expectEndTime")
	private String expectEndTime;	//最迟预期到货时间
	
	@XmlElement(name="expressCode")
	private String expressCode; 	//快递单号
	
	@XmlElement(name="logisticsCode")
	private String logisticsCode;	//快递公司编码
	
	@XmlElement(name="logisticsName")
	private String logisticsName;	//快递公司名称

	@XmlElement(name="senderInfo")
	private SenderInfo senderInfo;
	
	@XmlElement(name="receiverInfo")
	private ReceiverInfo receiverInfo;
	
	@XmlElement(name="sizeDetail")
	private String sizeDetail; 	//尺寸详情
	
	@XmlElement(name="remark")
	private String remark; 	//备注
	
	public String getEntryOrderCode() {
		return entryOrderCode;
	}
	public void setEntryOrderCode(String entryOrderCode) {
		this.entryOrderCode = entryOrderCode;
	}
//	public String getOwnerCode() {
//		return ownerCode;
//	}
//	public void setOwnerCode(String ownerCode) {
//		this.ownerCode = ownerCode;
//	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getOrderCreateTime() {
		return orderCreateTime;
	}
	public void setOrderCreateTime(String orderCreateTime) {
		this.orderCreateTime = orderCreateTime;
	}
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getExpectStartTime() {
		return expectStartTime;
	}
	public void setExpectStartTime(String expectStartTime) {
		this.expectStartTime = expectStartTime;
	}
	public String getExpressCode() {
		return expressCode;
	}
	public void setExpressCode(String expressCode) {
		this.expressCode = expressCode;
	}

	public String getSizeDetail() {
		return sizeDetail;
	}
	public void setSizeDetail(String sizeDetail) {
		this.sizeDetail = sizeDetail;
	}

	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getExpectEndTime() {
		return expectEndTime;
	}
	public void setExpectEndTime(String expectEndTime) {
		this.expectEndTime = expectEndTime;
	}
	public String getLogisticsCode() {
		return logisticsCode;
	}
	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode;
	}
	public String getLogisticsName() {
		return logisticsName;
	}
	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	public SenderInfo getSenderInfo() {
		return senderInfo;
	}
	public void setSenderInfo(SenderInfo senderInfo) {
		this.senderInfo = senderInfo;
	}
	public ReceiverInfo getReceiverInfo() {
		return receiverInfo;
	}
	public void setReceiverInfo(ReceiverInfo receiverInfo) {
		this.receiverInfo = receiverInfo;
	}

}
